package com.cn.mvc.service.impl;

import com.cn.mvc.annotation.MyService;
import com.cn.mvc.pojo.User;
import com.cn.mvc.service.UserService;

@MyService
public class UserServiceImpl implements UserService {

    @Override
    public User getUserById(String id) {

        User user = new User();
        user.setId("1");
        user.setName("大哥");

        return user;
    }
}
